GDK/Win32: Fix build after GDKGL refactoring
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 6 Dec 2016 06:37:42 +0000 (14:37 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 6 Dec 2016 08:47:47 +0000 (16:47 +0800)
commit060365a9bb5077c36c0ea9c36170096c110cffd3
tree0e960f22cd4aae8cc461cd00ec838fa37719085f
parent82401032c56eba0a2f3fa8291737882905f812d3
GDK/Win32: Fix build after GDKGL refactoring

There were some parts that need some updates after the refactoring in
GDKGL, so that the code will continue to build and run.

For gdkwindow-win32.c, comment out the parts where we check for use_gl
(which was removed), since we are going to move all drawing to OpenGL,
but don't remove/disable the whole portion as that transition is not
complete at this point.

There a is new GDKGL function that checks for the damaged area of the back
buffer, but since the notion of "damage" is for *NIX (GLX/EGL for
Wayland/mir), meaning that there is no such extension for Windows in this
regard, so we can't support this on Windows as-is, at least for now.

https://bugzilla.gnome.org/show_bug.cgi?id=773299
gdk/win32/gdkglcontext-win32.c
gdk/win32/gdkwindow-win32.c